name: ci on: push: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: '3.13' - run: pip install pyyaml ruff pytest - run: ruff check src/ tests/ - run: PYTHONPATH=src pytest tests/ -v build: needs: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: | docker login harbor.mymx.me \ -u "${{ secrets.HARBOR_USER }}" \ -p "${{ secrets.HARBOR_PASS }}" - run: | docker build \ -t harbor.mymx.me/s5p/s5p:latest \ -f Containerfile . - run: docker push harbor.mymx.me/s5p/s5p:latest