Changed key to the course path for all locks #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
main: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21.0' | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Cache Python Dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('_tests/requirements.txt') }} | |
- name: Install Python Interface | |
run: ./.ci/install-py-interface.sh 'main' | |
- name: Build | |
run: ./build.sh | |
- name: Run Base Tests | |
env: | |
AUTOGRADER__DOCKER__DISABLE: 'true' | |
run: ./test.sh | |
- name: Run Submission Tests | |
env: | |
AUTOGRADER__DOCKER__DISABLE: 'true' | |
run: ./.ci/run_remote_tests.sh | |
- name: Verify Python Interface Test Data | |
env: | |
AUTOGRADER__DOCKER__DISABLE: 'true' | |
run: ./.ci/verify-py-test-data.sh |